# Contributor: Thomas Kienlen <kommander@laposte.net>
# Maintainer: Thomas Kienlen <kommander@laposte.net>
pkgname=kiwix-tools
pkgver=3.3.0
pkgrel=0
pkgdesc="Kiwix command line tools"
url="https://github.com/kiwix/kiwix-tools"
arch="all"
license="GPL-3.0-or-later"
makedepends="
	meson
	kiwix-lib-dev
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/kiwix/kiwix-tools/archive/$pkgver.tar.gz"
options="!check" # no test suite
subpackages="$pkgname-doc"

build() {
	meson . build --prefix /usr
	ninja -C build
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="
a7dfdce6ea96d49d4368c84b0a9d8e939f90efd027027ed67bd528ea6394f688d1ae0a1f0420097f137c1aa88437c017afbe21d4847369bf6cf41d27ec060787  kiwix-tools-3.3.0.tar.gz
"
